/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package apiAccess;

/**
 *
 * @author Kevin
 */
public class Items {
    public int id;
    public int category_id;
    public int subcategory_id;
    public String name;
    public int sales_rank=0;
    public double price=0;
    public final String image_url;

    public Items(int id, int category_id, int subcategory_id, String name, String image, int sales, double price) {
        this.id=id;
        this.category_id=category_id;
        this.subcategory_id=subcategory_id;
        this.name=name;
        this.image_url=image;
        this.price= price;
        this.sales_rank=sales;
    }
    public Items(int id, int category_id, int subcategory_id, String name, String image) {
        this.id=id;
        this.category_id=category_id;
        this.subcategory_id=subcategory_id;
        this.name=name;
        this.image_url=image;
    }


    	@Override
	public String toString(){
		return "id=" +id +"-name=" + name+ "-code=";
	}
}
